﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Bary</title>


<link rel="stylesheet" type="text/css" href="Resource/yui/assets/yui.css" >

<link rel="stylesheet" type="text/css" href="Resource/yui/assets/dpSyntaxHighlighter.css">
<!--Script and CSS includes for YUI dependencies on this page-->
<link rel="stylesheet" type="text/css" href="Resource/yui/build/tabview/assets/skins/sam/tabview.css" />
<link rel="stylesheet" type="text/css" href="Resource/yui/build/button/assets/skins/sam/button.css" />
<script type="text/javascript" src="Resource/yui/build/yuiloader/yuiloader-beta-min.js"></script>
<script type="text/javascript" src="Resource/yui/build/event/event-min.js"></script>
<script type="text/javascript" src="Resource/yui/build/dom/dom-min.js"></script>
<script type="text/javascript" src="Resource/yui/build/element/element-beta-min.js"></script>
<script type="text/javascript" src="Resource/yui/build/tabview/tabview-min.js"></script>
<script type="text/javascript" src="Resource/yui/build/button/button-min.js"></script>
<body id="yahoo-com" class=" yui-skin-sam">
	<div id="framed">
  	<h2>商品发布</h2>
  </div>

			<!--BEGIN SOURCE CODE FOR EXAMPLE =============================== -->
	
	<div id="demo" class="yui-navset">
    <ul class="yui-nav">
        <li><a href="#tab1"><em>Tab One Label</em></a></li>
        <li class="selected"><a href="#tab2"><em>Tab Two Label</em></a></li>
        <li><a href="#tab3"><em>Tab Three Label</em></a></li>
    </ul>            
    <div class="yui-content">
        <div id="tab1"><p>Tab One Content</p></div>
        <div id="tab2"><p>Tab Two Content</p></div>
        <div id="tab3"><p>Tab Three Content</p></div>
    </div>
</div>

<script>
(function() {
    var tabView = new YAHOO.widget.TabView('demo');
    
    var addTab = function() {
        var labelText = window.prompt('enter the tab label');
        var content = window.prompt('enter the tab content');
        tabView.addTab( new YAHOO.widget.Tab({ label: labelText, content: content }) );
    };

    var button = document.createElement('button');
    button.innerHTML = 'add tab';

    YAHOO.util.Event.on(button, 'click', addTab);
    tabView.appendChild(button);

    YAHOO.log("The example has finished loading; as you interact with it, you'll see log messages appearing here.", "info", "example");
})();
</script>
	
	<!--END SOURCE CODE FOR EXAMPLE =============================== -->

  </div>
</body>
</html>